package com.tsingtree.modular.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 社区
 * </p>
 *
 * @author jagger
 * @since 2024-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="NanSellAnnounce对象", description="社区")
public class NanSellAnnounce implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "图片")
    private String thumb;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "版本号")
    @Version
    private Integer version;

    private Integer userId;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "评论数")
    private Integer commentTimes;

    @ApiModelProperty(value = "点赞数")
    private Integer likeTimes;

    @ApiModelProperty(value = "审核状态")
    private Integer checkStatus;

    @ApiModelProperty(value = "不通过原因")
    private String backReason;

    @TableField(exist = false)
    private String sellerName;

    private Integer sort;

    private Boolean isOfficial;

    private Integer collectTimes;

    private Integer clickTimes;

    private Integer showTimes;

    private String video;

}
